package com.sdkj.dspservice.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sdkj.dspservice.common.base.entity.DataEntity;
import lombok.Data;

/**
 * 角色-菜单Entity
 * @author tm
 */
@Data
@TableName(value = "sys_role_menu")
public class RoleMenu extends DataEntity<RoleMenu> {

    /**
     * 角色
     */
    private String roleId;
    /**
     * 菜单
     */
    private String menuId;

    public RoleMenu() {
    }

    public RoleMenu(String roleId, String menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }

}
